package com.registtools;

import com.registtools.util.SpringContextUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//@MapperScan({"com.taltools.dao.*","com.taltools.entity"})
public class TalToolsApplication {
	public static void main(String[] args) {
		ApplicationContext context = SpringApplication.run(TalToolsApplication.class, args);
		SpringContextUtil.setApplicationContext(context);
	}
}
